/**
 * 
 */
package br.com.dp.servidor.criptografia;

import java.security.NoSuchAlgorithmException;


/**
 * @author emmanuel
 *
 */
public class HashSHA256 extends CriptografiaGenerica implements Criptografia{

	private final static String ALGORITO = "SHA-256";
	
	@Override
	public String gerarHash(String valor) throws NoSuchAlgorithmException {
		return encryptByAlgoritmo(ALGORITO, valor);
	}
	
}
